﻿<?php

include("db_connection.php"); //db접속파일
global $connect;

$no   = $_REQUEST['no'];
$x = $_REQUEST['x'];
$y = $_REQUEST['y'];
$index = $_REQUEST['index'];
$text = $_REQUEST['text'];
$writer = $_REQUEST['writer'];
$time = $_REQUEST['time'];

$sql = "INSERT INTO memo VALUES (null, '$x', '$y', '$index', '$text', '$writer', '$time' );";
mysql_query($sql, $connect);

    ?>